package com.czh.auth.api.enums;

import lombok.Getter;

@Getter
public enum ResponseResultEnum {
    SUCCESS(200,"成功"),

    FAILED(500,"失败"),

    NOT_LOGIN(401,"未登录"),

    PARAM_ERROR(402,"参数错误"),

    PERMISSION_DENIED(403,"权限不足");

    private final int code;
    private final String msg;

    ResponseResultEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
